From cf57498e90452b5042026b841a549993d5c28523 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Mon, 1 Jun 2009 15:52:19 +0100 Subject: [PATCH] libxc: Implement stub xc_gnttab_map_table() for non-linux. Signed-off-by: Keir Fraser --- tools/libxc/xc_minios.c | 5 +++++ tools/libxc/xc_netbsd.c | 5 +++++ tools/libxc/xc_solaris.c | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/tools/libxc/xc_minios.c b/tools/libxc/xc_minios.c index a4e32ff078..8636ff5459 100644 --- a/tools/libxc/xc_minios.c +++ b/tools/libxc/xc_minios.c @@ -414,6 +414,11 @@ int xc_gnttab_set_max_grants(int xcg_handle, return ret; } +struct grant_entry *xc_gnttab_map_table(int xc_handle, int domid, int *gnt_num) +{ + return NULL; +} + /* * Local variables: * mode: C diff --git a/tools/libxc/xc_netbsd.c b/tools/libxc/xc_netbsd.c index aab325f68a..27a25d45a4 100644 --- a/tools/libxc/xc_netbsd.c +++ b/tools/libxc/xc_netbsd.c @@ -263,6 +263,11 @@ void discard_file_cache(int fd, int flush) } } +struct grant_entry *xc_gnttab_map_table(int xc_handle, int domid, int *gnt_num) +{ + return NULL; +} + /* * Local variables: * mode: C diff --git a/tools/libxc/xc_solaris.c b/tools/libxc/xc_solaris.c index d32a537550..6c1f209476 100644 --- a/tools/libxc/xc_solaris.c +++ b/tools/libxc/xc_solaris.c @@ -252,3 +252,8 @@ void discard_file_cache(int fd, int flush) { // TODO: Implement for Solaris! } + +struct grant_entry *xc_gnttab_map_table(int xc_handle, int domid, int *gnt_num) +{ + return NULL; +} -- 2.30.2